<% if @success %>
  $("#<%= @element_id %>").attr("class","icon small_like").data("method","post");
<% end %>
